package com.warmlight.voicepacket.http;

import java.io.IOException;

import okhttp3.Call;
import okhttp3.Response;

/**
 * Created by jason on 2018/5/16.
 */

public interface HttpCallback<T> {
    void onFailure(Call call, IOException e);

    void onResponse(Call call, Response response, T result);
}
